package oop5;

import oop4.Dog;
import oop4.pet.Parrot;

/**
 * @author oldliu
 * @since 1.0
 */
public class PetDoctorTest {
    public static void main(String[] args) {
        PetDoctor2 doctor=new PetDoctor2("老吴");
        Dog dog=new Dog("哮天犬",40,30,"公","中国土狗");
        doctor.cure(dog);
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>");
        Parrot p=new Parrot("小翠");
        doctor.cure(p);
        System.out.println("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<");
        Dolphin ph=new Dolphin("小兰",88,89,"公");
        doctor.cure(ph);
    }
}
